import { _RouteLocationBase } from "vue-router";
import getMetaFuncValue from "@/methods/getMetaFuncValue";

export default class MetaUtil {

  public static getCacheKey(route: _RouteLocationBase) {
    return getMetaFuncValue(route, 'cacheKey');
  }

  public static getTabName(route: _RouteLocationBase) {
    return getMetaFuncValue(route, 'tabName');
  }

}
